<!DOCTYPE html>
<!-- Test passes if doesn't crash. -->
<style>
.first {
    -webkit-filter: hue-rotate(90deg);
}
.second {
    -webkit-filter: blur(3px);
}
</style>
<img class='first' src="resources/reference.png">
<script>
    if (window.testRunner)
        window.testRunner.dumpAsTextWithPixelResults();
    // force a layout
    document.body.offsetTop;
    var img = document.getElementsByTagName('img')[0];
    img.className = 'second';
</script>
